<!-- BEGIN: main -->
 <div >
    <section id="categorygrid" >
	<div class="btn-group pull-right">
                                        <button class="btn" id="list"><i class="icon-th-list"></i>Dạng lưới</button>
                                        <button class="btn btn-orange" id="grid"><i class="icon-th icon-white"></i>Danh sách</button>
                                </div>
        <h1 class="heading1 mt0"><span class="maintext"><i class="icon-desktop"></i> Sản phẩm</span></h1>
			<ul class="thumbnails grid">
				<!-- BEGIN: items -->
					<li class="span3"> <a class="prdocutname" href="{LINK}" title="{TITLE}">{TITLE0}</a>
						<div class="thumbnail"> 
								<a href="{LINK}"><img src="{IMG_SRC}" alt="{TITLE}" style="height:{height}px;width:{width}px;"></a>
                                <div class="shortlinks">
								
                                    <a href="javascript:void(0)" id="{ID}" title="{TITLE}" class="pro_order" onclick="cartorder(this)">
									<button data-original-title="{LANG.add_product}" class="btn btn-orange tooltip-test"> 
									{LANG.add_product} </button> </a>
									
									<a  href="{LINK}" title="{TITLE}"  class="pro_order">
									<button  data-original-title="{LANG.detail_product}" class="btn btn-orange tooltip-test"> 
									
									{LANG.detail_product} </button></a>
                                   </div>
                                <div class="price">
									<!-- BEGIN: price -->
									<!-- BEGIN: discounts -->
									<div class="ratingstar"> 
									<div class="pricenew">{product_discounts} {money_unit}</div>
									</div>
									<!-- END: discounts -->
								 <div class="{class_money}">{product_price} {money_unit}</div>
									
								<!-- END: price -->                                
                                </div>
								{SALE}
								<a  href="{LINK}" title="Mã sản phẩm"  class="btn btn-orange btn-small  addtocartbutton">
								CODE: {PRODUCT_CODE}
							   </a>
							   </div>
							   <!-- BEGIN: adminlink -->
								<div class="shops-center">{ADMINLINK}</div>
								<!-- END: adminlink -->
                     </li>
					
						<!-- BEGIN: break -->
							<div style="clear:both"></div>
						<!-- END: break -->
						<!-- END: items -->
			</ul>
						<ul class="thumbnails list row">
							<!-- BEGIN: itemslist -->
								<li>
                                    <div class="thumbnail">
                                        <div class="row">
                                            <div class="span3">
												<a href="{LINK}"><img src="{IMG_SRC}" alt="{TITLE}"></a>	
											</div>
											
                                            <div class="span6"> <a class="prdocutname" href="{LINK}" title="{TITLE}">{TITLE0}</a>
                                                <div class="productdiscrption">{hometext}<br>
                                                    <a href="javascript:void(0)" id="{ID}" title="{TITLE}" class="pro_order" onclick="cartorder(this)">
														<button  data-original-title="{LANG.add_product}" class="btn btn-orange tooltip-test"> 
															{LANG.add_product} </button> </a>
															 
														 <a  href="{LINK}" title="{TITLE}" >
														<button  data-original-title="{TITLE}" class="btn btn-orange btn-small tooltip-test"> {LANG.detail_product}</button></a>
														
												</div>
												
													<div class="price">
														<!-- BEGIN: price -->
															<div class="pricenew">{product_price} {money_unit}</div>
																<!-- BEGIN: discounts -->
																	<div class="ratingstar"> 
																		<div class="priceold">{product_discounts} {money_unit}</div>
																	</div>
																<!-- END: discounts -->
														<!-- END: price -->  
																	 <!-- BEGIN: adminlink -->
												<div class="shops-center">{ADMINLINK}</div>
											<!-- END: adminlink -->
													</div>
                                                </div>
                                            </div>
										</div>
									
											 
                                </li>
							<!-- END: itemslist -->
						</ul>
			<!-- BEGIN: pages -->
			 <div class="pagination pull-right">
			 <ul>
			 {generate_page}
			 </ul>
			 </div>
			<!-- END: pages -->
</div>
   <div class="msgshow" id="msgshow"></div>
<!-- END: main -->
 </section>
</div>